<!doctype html>
<html class="x-admin-sm">
<head>
    <title>芯佑科技CMS系统</title>
    <#include "/back/common.html">
    <script>
        // 是否开启刷新记忆tab功能
         var is_remember = true;
    </script>
</head>
<body>
<!-- 顶部开始 -->
<div class="container">
    <div class="logo"><a href="/index.html">芯佑科技CMS系统</a></div>
    <div class="left_open">
        <i title="展开左侧栏" class="iconfont">&#xe699;</i>
    </div>

    <ul class="layui-nav right" lay-filter="">
        <!--<li class="layui-nav-item">
            <a href="javascript:;"><i class="layui-icon">&#xe654;</i>快捷操作</a>
            <dl class="layui-nav-child">
                <dd><a href="#" onclick="addNewCustomer(null);">新建客户</a></dd>
                <dd><a href="#" onclick="addNewCustomerContract(null);">新建联系人</a></dd>
                <dd><a href="#" onclick="addNewChance(null);">新建商机</a></dd>
                <dd><a href="#" onclick="addNewOrder(null);">新建订单</a></dd>
                <dd><a href="#" onclick="addNewPlan(null);">新建计划</a></dd>
                <dd><a href="#" onclick="addNewRecord(null);">新建回款</a></dd>
                <dd><a href="#" onclick="addNewInvoice(null);">新建开票</a></dd>
            </dl>
        </li>-->
        <li class="layui-nav-item">
            <#if loginUser.name??>
            <a href="#">${loginUser.name} </a>
            <#else>
            <a href="#">访客</a>
            </#if>
            <dl class="layui-nav-child"> <!-- 二级菜单 -->
                <dd><a href="#" onclick="resetPassword();">修改密码</a></dd>
                <dd><a href="#" onclick="loginout();">退出</a></dd>
            </dl>
        </li>
    </ul>

</div>
<!-- 顶部结束 -->
<!-- 中部开始 -->
<!-- 左侧菜单开始 -->
<div class="left-nav">
    <div id="side-nav">
        <ul id="nav">
             <li class="sysmenu open" id="901">
                 <a href="javascript:;"><i class="iconfont">&#xe723;</i><cite>商品管理</cite><i class="iconfont nav_right">&#xe697;</i></a>
                 <ul class="sub-menu">
                     <li class="sysmenu" id="9011">
                         <a _href="/productType/index"><i class="iconfont">&#xe6b8;</i><cite>商品分类</cite></a>
                     </li>
                     <li class="sysmenu" id="9012">
                         <a _href="/product/index"><i class="iconfont">&#xe6b8;</i><cite>商品列表</cite></a>
                     </li>
                 </ul>
             </li>
            <li class="sysmenu open" id="902">
                <a _href="/banner/index"><i class="iconfont">&#xe723;</i><cite>Banner管理</cite></a>
            </li>
            <li class="sysmenu open" id="903">
                <a href="javascript:;"><i class="iconfont">&#xe723;</i><cite>订单管理</cite><i class="iconfont nav_right">&#xe697;</i></a>
                <ul class="sub-menu">
                    <li class="sysmenu" id="9031">
                        <a _href="/order/index"><i class="iconfont">&#xe6b8;</i><cite>订单列表</cite></a>
                    </li>
                </ul>
            </li>
            <li class="sysmenu open" id="904">
                <a _href="/article/index"><i class="iconfont">&#xe723;</i><cite>文章管理</cite></a>
            </li>
            <li class="sysmenu" id="906">
                <a href="javascript:;"><i class="iconfont">&#xe723;</i><cite>系统管理</cite><i class="iconfont nav_right">&#xe697;</i></a>
                <ul class="sub-menu">
                    <li class="sysmenu" id="9062">
                        <a _href="/user/index"><i class="iconfont">&#xe6b8;</i><cite>用户管理</cite></a>
                    </li>
                    <!--<li class="sysmenu" id="9064">
                        <a _href="/log/index"><i class="iconfont">&#xe6b8;</i> <cite>日志管理</cite><i class="iconfont nav_right">&#xe697;</i></a>
                    </li>-->
                </ul>
            </li>
        </ul>
    </div>
</div>
<!-- 左侧菜单结束 -->
<!-- 右侧主体开始 -->
<div class="page-content">
    <div class="layui-tab tab" lay-filter="xbs_tab" lay-allowclose="false">
        <ul class="layui-tab-title">
            <li class="home"><i class="layui-icon">&#xe68e;</i>我的桌面</li>
        </ul>
        <div class="layui-unselect layui-form-select layui-form-selected" id="tab_right">
            <dl>
                <dd data-type="this">关闭当前</dd>
                <dd data-type="other">关闭其它</dd>
                <dd data-type="all">关闭全部</dd>
            </dl>
        </div>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <!--<iframe src='/welcome' frameborder="0" scrolling="yes" class="x-iframe"></iframe>-->
            </div>
        </div>
        <div id="tab_show"></div>
    </div>
</div>
<div class="page-content-bg"></div>
<!-- 右侧主体结束 -->
<!-- 中部结束 -->
<!-- 底部开始 -->
<div class="footer">
    <div class="copyright">Copyright ©2019 上海就博信息科技有限公司</div>
</div>
</body>
<script>
    /*$(function(){
        var menuList = "${loginUser.ud5}";
        contrlMenuShowOrNot(menuList);
        var loginUserId = "${loginUser.pk}";
        var serviceUrl = "47.110.59.44:8098";
        //var serviceUrl = "192.168.2.23:8098";
        initWebScoket(serviceUrl,loginUserId);
    });*/

    function resetPassword(){
        var url = "/user/user_reset";
        layer.open({
            title:'修改密码',
            type: 2,
            shadeClose: true,
            shade: false,
            maxmin: false, //开启最大化最小化按钮
            area: ['500px', '280px'],
            content: url
        });
    }

</script>
</html>